I would like to script the selection of the square that contains both the orange and green points, but not the squares with any other combination of points including white points. I am very familiar with python, but I do not know if the process of selecting a target feature with two sources layers is even possible. I cannot seem to figure out the process even within ArcMap's GUI. This seems like it should be easy. Any ideas?
Pseudo code: If square contains both orange and green points but only those points > select