Verifique se os valores da matriz existem em outra matriz

$result = !empty(array_intersect($people, $criminals));
Calm Caracal