Scale Expression Problem in After Effects

Hi, I wrote an expression to flip my character's head. I think I have the 2 value of the scale, but it still shows that expression result should be of dimension 2, not1.
Here is my expression:
x = thisComp.layer("C | head").effect("Head_Flip")("Checkbox");
if(x == 0) Scale = [100, 100] if(x == 1) Scale = [-100, 100]
What's the problem?
