There can be no proper legislature of the state loyal to the Union if the state is not in the Union.
Whether the state was ever out of the Union is a matter of opinion, and not a position supported by the Supreme Court. See Texas v. White (74 US 700).