How can weaker nucleophiles kick out stronger ones in the reaction of chloroalkanes with sodium iodide in acetone?
Acetone is the key here. The solubility of NaI in acetone is about 50 g in 100 mL while NaCl is virtually insoluble in acetone, thus the reaction is driven towards the alkyliodide due to Le Châtelier’s principle, since NaCl will be precipitating from the reaction. This process is called a Finkestein Reaction. Also see this.