You don't need a loop. This node always have 3 inputs. You can return [[True], [True], [False]]