Logic Functions

And

Given two boolean operands the AND it returns true if both are true, and returns false otherwise.

Or

Given two boolean operands, the OR operation returns true if either or both of them are true and returns false otherwise.

Not

Given a boolean operand, the NOT operation returns its opposite. NOT(true) = false, NOT(false) = true.

Xor

Given two boolean operators, the XOR operation returns true if only one of them is true, and false otherwise.