I have two arrays in PHP as follows:
People:
Array ( [0] => 3 [1] => 20 )
Wanted Criminals:
You can use array_intersect().
$result = !empty(array_intersect($people, $criminals));