core: Add logxor.