Traction and a non-marking sole
The main thing is a grippy sole made of non-marking rubber (it leaves no marks on the court — in many clubs this is mandatory). It holds on sharp starts and stops, of which there are hundreds in a match.
Lateral support
Squash is sideways movement and lunges. The shoe must keep the foot from rolling, otherwise ankle injuries will not keep you waiting. Running shoes are no good for this — they are built for forward motion.
Low profile
The closer the foot is to the floor, the more stable and faster the change of direction. Good squash shoes are low and firm, not a soft “cushion”.
If you play regularly, this is not something to economise on: the right shoes make you faster and protect your knees and ankles.