Integrated quantum interferometry with three-dimensional geometry