This results in a binary 1 if either of the operands is 1. If both of the bits are 0, then the result of the | operation is 0.
Assuming that operand A has a value of 1010 and operand B has a value of 0111, then A|B will be as follows:
A | 1010 |
B | 0111 |
A|B | 1111 |