Most machines (except those that literally only take quarters) take dollar coins, as these are designed to be the same as susan b anything dollars, which have been around since 1979.
The real key is they don’t stop making the dollar bill and force the issue.
But hey the penny is finally dying so who knows?