Yes, you are allowed to bring outside food and drinks into the San Diego Zoo, with the exception of alcoholic beverages. For security, all soft-sided containers (coolers, bags) are subject to random checks upon entry.
If you prefer not to pack a picnic, the zoo offers over 20 dining locations ranging from casual cafes to full-service restaurants, catering to a variety of tastes and dietary needs.