That depends how you define bankruptcy. Since the US can print its own money, it can technically never go bankrupt, as it can always pay its own bills.
If you define bankruptcy to include paying debts with devaluated currency, thus not truly paying back the original value of the loan + interest, the US (and many/most western nations) have been bankrupt for quite some time.