Binary logic functions are functions or expressions of binary variables or other binary functions. They produce an output which is 0 or 1 depending on input values
A logic function can be defined using a truth table. The truth table indicates the value of the function for each possible input values. For example