Usually when I've seen 19th century homes for sale at premium prices, it's because they're of a desirable architecture in old-money neighborhoods and have been well maintained for their entire existence. I think it might be a bit of a survivorship bias.
Look at the HVAC system (typically boilers/hydronics of various vintages). If they're in good shape, it's likely the rest of the home as been similarly kept up, as that's one of the more expensive systems in such a home to keep in working order.