get the logical xor of two variables,"xor(bool(a), bool(b))"