The choice of SML is to have a pure functional language where it is rather unlikely that any students have previous experience with it. Thus giving everyone some fair ground to learn together.
Languages like python, haskell or scheme might be popular enough to be known by many people. Whereas scheme is still pretty nice for teaching.