Add onions and garlic to a blender with remaining ingredients, omitting the tortilla chips and adding only half of the green chilies. Blend until smooth, using the liquefy setting if you have it to get it really smooth. Otherwise just blend for up to a minute, scraping down sides as necessary, until smooth and creamy.