The Z-binoculars were active infrared goggles designed originally for pilots or drivers but tested with infantry applications. Only about 100 were made during WW2 and I have never seen evidence they were used in combat.
The submachinegun is equipped with the IR illuminator portion of the M2 Sniperscope system. There's no optic on it, so the soldier would point the illuminator at the target and use that to aim.

