Periksa apakah nilai array ada di array lain
$result = !empty(array_intersect($people, $criminals));
Calm Caracal
$result = !empty(array_intersect($people, $criminals));