Cazz, this is the correct format:
if ($nick isop $chan || $nick ishop $chan) {
or
if ($nick isop $chan) || ($nick ishop $chan) {