You show up at a popular trailhead carrying a rifle, some tourist is going to complain loud enough to get a ranger involved.  You won't get arrested, but the odds are that it will inconvenience you for a bit of time.  There is legal and there is right, 2 very different things in this case.