Verifique si existe un valor de matriz en otra matriz PHP
$result = !empty(array_intersect($people, $criminals));
Calm Caracal
$result = !empty(array_intersect($people, $criminals));
$containsAllValues = !array_diff($search_this, $all);