Truth Table for a few Logical Operations
X
Y
X and Y
X nand Y
X or Y
X xor Y
0
0
0
1
0
0
0
1
0
1
1
1
1
0
0
1
1
1
1
1
1
0
1
0