This should have you on your way
Code:
$array = array(array(100,200,400), array(100), array(200));
foreach ($array as $array2) {
if ($array2[0]==100 && count($array2)==1) {
$arrMatches[] = $array2;
}
}
print_r($arrMatches);
I made an array there out of the arrays that ONLY contained the value 100, but you could just echo out the keys instead or whatever ya like.