The air gets trapped between two layers of warm clothes. Air acts as insulator of heat. This layer prevents our body heat to escape in the surroundings. More layers of thin clothes will allow more air to get trapped and as a result we will not feel cold. So wearing more layers of clothing during winter keeps us warmer than wearing just one thick piece of clothing.