take for example
Or true (1) false (0)
True ( 1) 2 1
False (0) 1 0
In the truth table, equal to 0 is false, and greater than 0 is true.
true ( 1) false (0)
True ( 1) 1 0
False (0) 0 0