it is unreasonable, it is unwise, it is foolish
unreasonably, unwisely, foolishly
Он вел себя очень нерассудительно и глупо.
He behaved very unreasonably and foolishly.