With the wired AND or OR using diodes it should be cautioned that the output voltage will be shifted positive or negative by a diode drop so that it is likely not compatible with the primary logic family.