The reason why it is not advised to wear nylon and polyester clothes on a flight because if somehow the plane catches fire since,nylon clothes are highly flammable you will get burnt as well as others around you will suffer.So it is always better to wear woolen clothes as they dont catch fire quickly and even if it catches fire you can contain the fire as it wont have as much intensity.