Here's how to do it quickly (large arrays) using numpy:
import numpy as np a = [True, False, True,...] b = [False, False, True,...] c = [True, True, False,...] res = (np.column_stack((a,b,c)).any(axis=1) print res
Note that a becomes the first column, b second, etc. when using np.column_stack() . Then do np.any() (logical OR) on an array along axis=1 , which will compare the first elements a , b and c , etc. Etc.; the result is a logical vector whose length matches the vectors you want to compare.
retox
source share