Enables hydroxymethylglutaryl-CoA lyase activity. Involved in ketone body biosynthetic process. Located in several cellular components, including cytosol; endoplasmic reticulum; and perinuclear region of cytoplasm. [provided by Alliance of Genome Resources, Apr 2022]