Constant alignment.
Use Enumerable#one? instead of faulty logic for logical_xor.