$array = array(2,3,1)
if (in_array(1,$array))
 return true;return false;