Jasper Yu says to YSITD
y=x{y<0:1,0<y:2}