Step 1: Understand ionic compounds.
Ionic compounds are formed by the transfer of electrons between a metal and a non-metal, resulting in the formation of ions. Step 2: Analyze the given options.
\(\mathrm{SO_2}\), \(\mathrm{ICl}\), and \(\mathrm{CHCl_3}\) are covalent compounds formed between non-metals.
Potassium iodide consists of potassium (a metal) and iodine (a non-metal), forming an ionic bond. Step 3: Conclusion.
Hence, potassium iodide is an ionic compound.