MAGIC_LOGICAL_AND and MAGIC_LOGICAL_OR