Wired-OR logic in which multiple outputs are connected together is prohibited because they are short-circuited. Obviously, any output must not be connected to VCC or GND. (Fig. 1)
Multiple gates in the same package can be connected together as shown below to increase the drive capability.
However, it is recommended to use high-drive ICs instead, such as the 74AC, 74LCX and 74VCX series.
In order to improve the drive capability, the gates in the same package can be connected as shown in Fig. 2. However, it is recommended to use a IC with high drive capability such as 74AC, 74LCX, 74VCX Series.
The following documents also contain related information.