Mathlib.Init.Data.Bool.Basic
source
In Lean 3 this file also contained the definitions of cond, bor, band and bnot, the boolean functions. These are in Lean 4 core (as cond, or, and and not), but apparently xor didn't make the cut.
cond
bor
band
bnot
or
and
not
xor
Boolean XOR