Looping on analog read giving strange readings

Replace the 1M? by a 1k? resistor and measure again. The source impedance of the analog inputs shouldn't be more than about 10k?.