Loading simulator…
If either input is LOW, the corresponding PNP transistor turns ON and pulls Y HIGH. Both transistors turn OFF only when both inputs are HIGH.
Y = (A · B)'