The real value of 'a' for which the equations ax+y+z=0, -x+ay+z=0, -x-y+az =0 have nonzero solution is