Well, it will work at 1MHz but I'm confused by you connecting a pot to pin 2, this is a digital switching device and should be driven by digital signals on pin 1 and pin 2. What are you trying to do by feeding analog signal in to it?
The output you are seeing is probably voltage from the input conducting through the protection diodes to the supply line inside the IC but you shouldn't be driving it with the supply switched off anyway because you risk damaging it.
What is the other end of the 100 Ohm resistor connected to?
Brian.