switch[and] x nxor, y nxor { case true: ... # both truthy case true, false: ... # first truthy, second not truthy case false, true: ... # first not truthy, second truthy default: ... # both not truthy }