The gap is usually air, argon, or krypton. Building them to hold a vacuum would be too expensive - think of the pressure on the glass.
"Insulating glass (IG), more commonly known as double glazing (or double-pane, and increasingly triple glazing[1]/pane), consists of two or three glass window panes separated by a vacuum or gas filled space to reduce heat transfer across a part of the building envelope."