It is not in fact the same in the USA. You cannot be held indefinitely without a judicial hearing and without access to a lawyer in the US. You can in Japan, and in fact that's the norm.