And a fourth might be to have separate flows polling the relays and storing their values in variables, then a flow to retrieve the values, sum them, then function to determine the output state yes|no.
And a fourth might be to have separate flows polling the relays and storing their values in variables, then a flow to retrieve the values, sum them, then function to determine the output state yes|no.