Common output from two proximity sensors
Use OR-ing diodes as shown in the schematic below.
The pull-down resistor ensures the input of the device is low when no sensor is triggered.







simulate this circuit &ndash; Schematic created using CircuitLab