Add to this the commute to and from the airports and you are looking at 12 hours.
Practically you would require a top speed of ~250mph, and current current generation of conventional rail trains max out at about 190-210mph. But they could easily do NYC to SFO in 13-14 hours.
The Shanghai Maglev Train reaches a top speed of 268mph (during it's short 7min trip to the airport), so it could do the trip in less than 12 hours. But I'm not sure it's theoretically practical over distances that long.
And who is gonna pay for this magical high speed railroad that never breaks down and is never delayed?
High speed rail in California is costing around $90 million per mile. A perfectly straight line from NYC-SF is 2,572 miles. That's nearly a quarter of a trillion dollars. All to allow costal elites to increase their travel time? Sure.
NYC to SFO in 12 hours is an average speed of 215mph
With zero stops and no delays.And again, for this fantastical train, we're earning the privilege of doing in 12 hours what a plane will do in 6.
If you factor in all this extra stuff, it looks more like 9-10 hours.
You go to the train station, which is in the city centre. You use a subway, tram or bicycle to get there. You walk in, go to your platform and enter the train. You place your luggage in the luggage rack and take your seat. When the train arrives at your destination or interchange point, you grab your stuff and leave. Sometime in between, staff will walk the train and check your ticket.
No long transit to/from the station. No check-in, no security screening, no baggage drop-off/pickup. It's a train, not rocket science.