`^` means XOR. Use the proper operator.