Interrupts using analog pins

Probably a better idea to use a timer interrupt that fires every x milliseconds and read/store the analogue pin value for main code to pickup and react on.
Another way that is probably not suitable for your needs is to use the build in analogue comparator (Good tutorial here) that would trigger an interrupt when a certain voltage level (distance) is reached.