In most states, the State Library provides information on the public libraries in their state.
For example, In Indiana, you can find this information on the Public Library Directory page of the Indiana State Library website. The page includes a directory listing, lists by county and city, and maps.
Other states have similar options. Examples include Ohio, Illinois, and Kentucky.