Connect the two wires together.
If there is a signal on either of them the re wi be a signal when they are joined - it requires having outputs that aren't effected by you forcing them high
Not sure if this is clear to the OP. They are referring to the logical OR function. Some may prefer to write it slightly differently, as wire OR'ed, instead.