if all what you care about is finding one difference the below code should do the trick:
$permission = false;
for($i=0; $i<3; $i++){
for($j=0; $j<2;$j++){
if($condition1[$j] != $condition2[$i]){
$permission = true;
break;
}
}
}
if($permission){
echo 'success';
}