{GATE} is no longer supported because it has been replaced by Expression Manager.
You would to this instead:
myurl.com/redirect/survey?{if(INSERTANS:25653X2X66=='Yes','success','failed')}&hash={TOKEN}&id={SAVEID}&sid={SID}
I assume you're using a yes/no question. Let's say it is called "ok", here are two other ways of doing the same thing:
myurl.com/redirect/survey?{if(25653X2X66=='Y','success','failed')}&hash={TOKEN}&id={SAVEID}&sid={SID}
myurl.com/redirect/survey?{if(ok=='Y','success','failed')}&hash={TOKEN}&id={SAVEID}&sid={SID}