Combine x number of boolean lists with same length with boolean operator

I have a list of x sublists filled with different booleans. I would like to combine the sublists using the OR operator.

For example, one sublist contains the values
[true, false, false, false]

The another sublist of the list contains
[false, false, false, true]

The desired outcome is a single list that would contain
[true, false, false, true]

Is there a way to do this using nodes or would I have to create a python script?

There are many ways to do this. It depends on your list structure and how many booleans you’re comparing, but you’re basically looking for an OR function or AnyTrue.

1 Like

I used List.TrueForAny with my predicate being x=1 and got the same result, Thank you for the help!