There is only one row where only one of S1, S2 and S3 is true. (S1 = X is red, S2 = Y is not red, S3 = Z is not blue).
X | Y | Z || S1 || S2 || S3
------------------------
R | B | W || T || T || T
R | W | B || T || T || F
B | W | R || F || T || T B | R | W || F || F || T
W | R | B || F || F || F
W | B | R || F || T || T
There is only one row where only one of S1, S2 and S3 is true. (S1 = X is red, S2 = Y is not red, S3 = Z is not blue).
X | Y | Z || S1 || S2 || S3
------------------------
R | B | W || T || T || T
R | W | B || T || T || F
B | W | R || F || T || T
B | R | W || F || F || T
W | R | B || F || F || F
W | B | R || F || T || T