Leviticus 18:
זָכָ֔ר (zā·ḵār)
Noun - masculine singular
Strong's 2145: a male
A male would include any age group.
English Standard Version, Leviticus 20:
וְאִ֗ישׁ (wə·’îš)
Conjunctive waw | Noun - masculine singular
Strong's 376: A man as an individual, a male person
At Biblehub, 20 versions translate H2145 as "male", 5 versions translate it as "man". 10 versions use "mankind", 0 version translates it as "boy".
American Standard Version
Do not have sexual relations with a male, either a man or a boy. Both are sins.
This is consistent with Romans 1:
a male22 “’Do not have sexual relations with a male [H2145] as one does with a woman; that is detestable.
זָכָ֔ר (zā·ḵār)
Noun - masculine singular
Strong's 2145: a male
A male would include any age group.
English Standard Version, Leviticus 20:
If a man13 If a man lies with a male [H2145] as with a woman, both of them have committed an abomination; they shall surely be put to death; their blood is upon them.
וְאִ֗ישׁ (wə·’îš)
Conjunctive waw | Noun - masculine singular
Strong's 376: A man as an individual, a male person
At Biblehub, 20 versions translate H2145 as "male", 5 versions translate it as "man". 10 versions use "mankind", 0 version translates it as "boy".
American Standard Version
Do not have sexual relations with a man or boy?And if a man lie with mankind, as with womankind, both of them have committed abomination: they shall surely be put to death; their blood shall be upon them.
Do not have sexual relations with a male, either a man or a boy. Both are sins.
This is consistent with Romans 1:
1 Corinthians 6:26 Because of this, God gave them over to shameful lusts. Even their women exchanged natural sexual relations for unnatural ones. 27 In the same way the men also abandoned natural relations with women and were inflamed with lust for one another. Men committed shameful acts with other men, and received in themselves the due penalty for their error.
9 Or do you not know that wrongdoers will not inherit the kingdom of God? Do not be deceived: Neither the sexually immoral nor idolaters nor adulterers nor men who have sex with men