2.5.5 Logical Operators Logical operators work with the Rexx strings 1 and 0, usually as a result of a comparative operator. These operators also only result in logical TRUE; 1 or logical FALSE; 0. & And Returns 1 if both terms are 1. | Inclusive or Returns 1 if either term is 1. && Exclusive or Returns 1 if either term is 1 but NOT both terms. \ Logical not Reverses the result; 0 becomes 1 and 1 becomes 0.