Loading simulator…
Both PNP transistors must be ON to complete the pull-up path. Since a PNP transistor turns ON for a LOW input, Y becomes HIGH only when both inputs are LOW.
Y = (A + B)'