I am assuming you wish only one of the dimesions from the 2D array to control the indexing of the boolean array.
In the attached example the index of the first dimension from "Array" controls the index of "Array 2" and the index second dimension controls the index of "Array 3"