Boolean relation at the output stage Y for the following circuit is:

Boolean behavior of the parallel input diode network at the transistor base:
Operation of the common-emitter transistor stage configured as an inverter:
Combining the two stages:
Applying De Morgan's laws:
Tagged Logic gates and digital circuits. Machine-assigned, so read it as a strong shortlist rather than a verdict.