in_array non confronta 2 valori. Cerca se un valore è presente in un array. Il tuo secondo parametro è una stringa non un array.