According to the Occupational Safety and Health Administration (OSHA), safety glasses should be worn under safety helmets, especially where they provide inadequate side protection (source).
To comply with ANSI Z87.1, they should be worn to provide the necessary protection because welding helmets alone do not offer enough protection.