You asked
Is a 1 inch compact better than a used a6000 for a beginner?
The guide's pick here is the used Sony a6000, if you want the better pictures and can carry a little more. Its APS-C sensor (23.5 x 15.6mm) is much larger than a 1-inch sensor (about 13 x 9mm), and sensor size matters most in dim light and with moving subjects. The a6000 also works with a wide range of Sony E lenses, so it can grow with you.
It gives up some pocketability and has no stabilisation in the body, so pair it with a stabilised lens. The Sony E 18-55mm f/3.5-5.6 OSS is a simple, light everyday kit lens. For more light-gathering in dim rooms, the Sigma 18-50mm f/2.8 DC DN Contemporary is the step up, at more cost and size.
A 1-inch compact is the better choice if you mostly want something that fits in a jacket. The guide's travel picks rate a 1-inch compact with a 24-200mm-equivalent zoom as clearly better than a phone when you zoom. This answer doesn't name a specific 1-inch model, so the guide can't compare one directly with the a6000.
On buying, the guide says any current camera from a major brand is good, so the feel in your hand matters most. Buying used is the way to save money. The a6000 page is where to check current prices; this answer can't quote one.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.