It depends on data structure used to represent a binary tree.
If array is used then inserting will take O(1), just insert at the last position in an array.
If standard structure is made then it takes O(logn) time in best case if tree is balanced but if it left or right skewed then it takes O(n) if we want to insert in leaf node, if we try to insert at root then it will take O(1) in case of skewed binary tree.