An E or AND gate can be constructed based on common diodes. In the case, the diodes are for general use and the door has three inputs. The supply voltage depends on the application.