When two iron nails are bring together close or by touching each other, they will not attract or repel each other, there will be no interaction between the two iron nails since both of them are not a magnet or not yet an induced magnet.
Iron nails are attracted by a magnet or by another iron nails which is already and induced magnet. Since iron nails can be attracted by a magnet, it contains a ferromagnetic substance and is considered naturally magnetic.
Kindly visit the link provided below:
Nothing, because neither of them have any kind of electromagnetic field.