The following truth table corresponds to the logic gate
A 0 0 1 1
B 0 1 0 1
X 0 1 1 1
NAND
OR
AND
XOR
For ‘OR’ gate X = A + B
i.e. 0 + 0 = 0, 0+1=1, 1+0=1,1+1=1 }