Let's call the boolean values A and B.
You have two options:
Both formulations simulate a XOR gate. The <> operator is effective a xor operator when applied to two booleans.
Example use case:
#"Next Step" = Table.SelectRows(#"Previous Step", each ([NAME] = "Jim") <> ([AGE] = 2))
This would select all Jims and all 2-year olds, but not Jims who are two years old.