The home side's new interim manager John Brown was all set to celebrate his second win at the helm in the space of just a few days thanks to John Baird's excellent first-half opener but Caley Thistle hit back through McKay's 82nd-minute header.
With just nine games now left, the Dark Blues remain 14 points behind second-bottom St Mirren but have showed again they are not about to give up the fight for survival yet.

