A directional coupler (DC) Mach–Zehnder interferometer (MZI) thermal optical switch based on a polymer and glass waveguide hybrid for three-dimensional (3D)-integrated chips is demonstrated.