integrate (Boole[max(min(x,y),|y-x|,1-max(x,y)) < z]) over x=0 to 1 and y=0 to 1