In Scotland it’s the reverse, school library provision is statutory but (as far as I can tell) not public libraries… in my area secondaries tend to have a staffed library, primaries do not but at least get visits from the mobile library. (Obvs this may be different elsewhere!)