Police say a man is in custody after he allegedly punched a Glendale police officer near Loop 101 and Maryland Avenue Sunday.