Everyone has a different attitude towards children who spend time on devices at that age. Of course, you can ban them or control how much time they spend on them, or you can turn that into an advantage. To develop logic and critical thinking, you can suggest to the child to play children's games. For example,
https://chickenroad-official.nz/ will encourage them to think about how to use their time wisely.