def METHOD_NAME(record, querydata):
    mask_a = checkSame(record[0], querydata[0])
    mask_b = checkSame(record[1], querydata[1])
    return [ [1] if a == [1] or b == [1] else [0] for a, b in zip(mask_a, mask_b) ]