Smoke detectors don't detect gas vapors at all. A residential smoke detector would be useless. There are 2 types of smoke detectors. Most older ones are photo electric type. It basically shoots a light beam across an area. If that beam is broken up by smoke, it causes it to go off. That is why they have a lot of false alarms, they get dirty from dust. You should use compressed air to blow them out once in a while. The other type are ionization type. They use ionizing radiation to detect smoke. They contain a small amount of americium-241, which is a radioactive element. The way they work, there is a chamber with 2 metal discs, with a gap between them. The ionization of the americium creates an electrical field between those discs. When smoke enters the chamber, it attaches to the ions and the sensor notices the voltage drop and sends it into alarm. They are the most common now.
Sooooo, they would both be totally useless to detect anything remotely considered to be a volatile atmosphere on a watercraft. The device jake inked to would work best.