if you do not declare your income in case it is big enough iot could be seen as illegal or punishable if you want to avoid tax, the point is that they cannot know about your mining activity especially if it is done abroad
what if for example i go to liberland and start a mining activity(my oen private pool with 10 peta) there and receive profit directly to my wallet in my home in new york, no one will ever know about it