The animationPhase command queries the value of the current animation and is not the way to set a phase in any way. It also doesn't take an array, but rather just the name of the animation you want to look at. For example, to perform the "rotacon" animation once and wait until it is completed before doing something else:
_rotac1 animate ["rotacon", 1]
@ (_rotac1 animationPhase "rotacon") == 1
E.g. To spin one way, then back the other way, continually:
#startanim
; Rotate one way...
_rotac1 animate ["rotacon", 1]
@ (_rotac1 animationPhase "rotacon") == 1
; Rotate back the other way...
_rotac1 animate ["rotacon", 0]
@ (_rotac1 animationPhase "rotacon") == 0
goto "startanim"
OK, real problem with your code snippet though is that you don't explain exactly what you are trying to achieve, so it is hard to correct it. The config doesn't have anything about a "rotacon_1" animation either. Do you want the light to continually spin around? Spin around once then pause before spinning again. Spin one way, then back the other?