Step 1: Count electron pairs on iodine
Iodine has \(7\) valence electrons. Five are used in bonds with fluorine, leaving \(2\) electrons, which is one lone pair.
So there are \(5\) bond pairs and \(1\) lone pair, \(6\) pairs in total.
Step 2: Find the geometry
Six electron pairs give an octahedral arrangement (\(sp^3d^2\) hybridisation).
The lone pair takes one octahedral position, leaving five atoms in a square pyramid shape.
Step 3: Other options
Trigonal bipyramidal needs \(5\) pairs in all. Square planar is the shape of XeF\(_4\) (4 bonds, 2 lone pairs). Hexagonal does not occur for such molecules.
Final Answer:
IF\(_5\) is square pyramidal, option (D).
\[ \boxed{\text{(D) Square pyramidal}} \]