The problem to solve is as follows. In a unit cube $\left(x,y,z\right) = (0,1)^2$ find a volume of a shape produced by following inequlity: $$2 x^2 + y (1 + z) + x (z-y-2)<0$$
Eventually, I need an exact result. However, my approach seems to be wrong for some reason I don't see. If I write
NIntegrate[If[2 x^2 + y (1 + z) + x (-2 - y + z) < 0, 1, 0], {x, 0, 1}, {y, 0, 1}, {z, 0, 1}]
I get $0.205431$. On the other hand, if I solve for $z$ in the inequality, i.e.
$$z < \frac{(1-x) (2 x-y)}{x+y}$$
and treat the problem as a double integral, i.e.
NIntegrate[If[0 < ((1 - x) (2 x - y))/(x + y) < 1, ((1 - x) (2 x - y))/(x + y), 0], {x, 0, 1}, {y, 0, 1}]
I get the result $0.181523$.
Why these results are different? I would be very greatful.