If Input A is low, then current flows through diode A, pulling that node (and therefore output) to Vfwd of the diode (say 0.7v, 0.3v schottky).
Similarly if Input B is low, same thing.
If both input A and B are low, same thing.
So that leaves where input A and B are both high, and you can see then that the diodes can not conduct (reverse biased) meaning that the output is high.
NB: you have an extra ground/reference, center bottom of diagram, you're just pulling the output low permamantly with that, eliminate it.