0.9Meg / 900k is very very low between a winding and the metal shroud. If your measurement is correct, the insulation has broken down and the transformer should be thrown away (or rewound, if you're into that kind if thing).
Make sure you've got good contacts between your meter probes and the winding and shroud, with your fingers not touching either (or any other stray paths between the two points), and check it again.
If it checks out (your meter should read it as an open circuit), the next step I'd do would be to connect the primary in series with an incandescent light bulb, then to the mains (careful! Use isolation transformer if you have one, RCD/GFI as an absolute minimum, keeping in mind mistakes = electrocution). The bulb should not come on unless you short the secondary wires together - and you'll also be able to measure the secondary AC voltage while you're at it.
If the bulb lights with the secondary open, either it's not a 220/240V rated transformer, or it has shorted windings somewhere.