The intersection of two perpendicular cylinders forms a solid called Steinmetz Solid. And the intersection with the plane $z=2$ can be visualized as below.
The enclosed intersection is a square of sides $a$, where $a^2=r^2+z^2$ (Apply Pythagoras Theorem). And here $a = \sqrt{1-z^2}$.
[[Image source: math.stackexchange.com]]