You could use the array_filter function, supplying it with a custom function which finds the zeros in those positions.
<?php
$array = [[1,1,1,0],[1,1,1,1],[1,0,0,0],[1,0,0,1],[1,0,1,0]] ; // This is your original array
function zeros($array){ // This function will check the second (1) and third (2) values of the sub-arrays to see if they equal 0
if(($array[1] === 0) && ($array[2] === 0)){ return false ;} // if both are 0, return false to discard them
else{ return true ;} // Otherwise retuen true to keep them
}
$filtered = array_filter($array, "zeros") ; // This function will apply the "zeros" function to each array value. if the function returns false the value is removed from the resulting array
// See the results...
echo "Original Array:-\n";
var_dump($array);
echo "Filtered Array:-\n";
var_dump($filtered);