Apply a high voltage to the insulation and measure the (very) small current that flows. Since normal insulation resistance is so high. you can place a large resistor in series (such as the 10MΩ input resistance of a typical digital meter) and measure the voltage across the resistor. From that and the applied voltage you can calculate the insulation resistance.