This will vary from model to model, and with the huge number of Android tablets out there, we can't give a definitive answer. In general, contemporary Samsung Galaxy tablets offer sophisticated pen support thanks to their digitiser touchscreens, so if you are shopping for an Android tablet for drawing, this is a good place to start.
Samsung is not the only game in town here; Huawei, for instance, makes tablets that have active stylus compatibility, such as the Huawei Mediapad M5 Lite. Though bear in mind that Huawei tablets are technically no longer Android; following the split with Google earlier this year, Huawei tablets now run Harmony OS.
So the general rule of thumb is that if you want an Android tablet with active stylus compatibility and all the perks that go with it, you're best off sticking with Samsung for the time being.